//
//  BPCrashProtocol.h
//  BPCrashDemo
//
//  Created by SiYugui on 2019/12/18.
//  Copyright © 2019年 SiYugui. All rights reserved.
//

static NSString * _Nullable const BPCrashDefaultReturnNil = @"This framework default is to return nil to crash.";
static NSString * _Nullable const BPCrashDefaultReturnIgnore = @"This framework default is to ignore thsi operation to crash.";

static NSString * _Nullable const BPCrashStringReturnUnichar = @"This framework default is to return a without assign unichar.";

@protocol BPCrashProtocol <NSObject>

@optional
#pragma mark - string
+ (void)avoidStringCrashExchangeMethod;
+ (void)avoidMutableStringCrashExchangeMethod;
+ (void)avoidAttributedStringCrashExchangeMethod;
+ (void)avoidMutableAttributedStringCrashExchangeMethod;

#pragma mark - dictionary
+ (void)avoidDictionaryCrashExchangeMethod;
+ (void)avoidMutableDictionaryCrashExchangeMethod;

#pragma mark - array
+ (void)avoidArrayCrashExchangeMethod;
+ (void)avoidMutableArrayCrashExchangeMethod;

#pragma mark - object

+ (void)avoidObjectCrashExchangeMethod;

@end
